package com.briup.jz.service;

import com.briup.jz.bean.Order;
import com.briup.jz.bean.extend.OrderExtend;
import com.briup.jz.utils.CustomerException;
import com.briup.jz.vm.OrderVM;

import java.util.List;

public interface IOrderService {

    void commit(OrderVM orderVM) throws CustomerException;
    void updateOrderEmployeeById(long id,long employee);
    void updateOrderStatusById(String status,long id);
    void sendOrder(long orderId,long employeeId) throws Exception;
    List<OrderExtend> findAll();

    OrderExtend findOrderDetailsById(long id);


    List<OrderExtend> findNotpayingByCustomerId(long id);
    List<OrderExtend> findAllNotpaying();

    List<OrderExtend> findPaidByCustomerId(long id);
    List<OrderExtend> findAllPaid();
    List<OrderExtend> findStatusByCustomerId(String string,long id);
    List<OrderExtend> findStatus(String string);


}
